package signfactory

//ISignHandler 签名方法接口
type ISignHandler interface {
	// Sign 签名方法，其中raw为外部已拼接密钥的原串，此处的key仅hmac及rsa模式会使用
	Sign(raw, key, sType, rsaHasType string) (sign string)
	Verify(outSign, raw, key, sType, rsaHasType string) (res bool, err error)
}
